package com.poetry.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime;

@TableName("notes")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notes {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer poemId;

    private String content;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
